<template>
  <div class="page-sheet contents" contenteditable="false">
    <PageHeader>
      <template v-slot:page-number>
        <div class="page-number" data-total="1"></div>
      </template>
    </PageHeader>
    <div class="page-body">
      <p class="title" :class="en ? 'title_zh' : ''">目次</p>
      <p class="title title_en" v-if="en">Contents</p>
      <div class="row-list" id="contentsRowList"></div>
    </div>

    <PageFooter />
  </div>
</template>
<script>
import PageHeader from '../PageHeader.vue'
import PageFooter from '../PageFooter.vue'

export default {
  components: {
    PageHeader,
    PageFooter
  },
  computed: {
    en() {
      return this.$store.getters.languageType === 'both'
    },
    revisionContentList() {
      return this.$store.state.xmleditor.revisionContentList
    }
  }
}
</script>
